package org.jeecg.netty.config;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "netty")
public class NettyConfig {

    private int port;
    private String ip;
    private int ledPort;
    private String ledIp;
    private String sensorIp;
    private int sensorPort;
    private String vocIp;
    private int vocPort;
    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

	public int getLedPort()
	{
		return ledPort;
	}

	public void setLedPort(int ledPort)
	{
		this.ledPort = ledPort;
	}

	public String getLedIp()
	{
		return ledIp;
	}

	public void setLedIp(String ledIp)
	{
		this.ledIp = ledIp;
	}

	public String getSensorIp()
	{
		return sensorIp;
	}

	public void setSensorIp(String sensorIp)
	{
		this.sensorIp = sensorIp;
	}

	public int getSensorPort()
	{
		return sensorPort;
	}

	public void setSensorPort(int sensorPort)
	{
		this.sensorPort = sensorPort;
	}

	public String getVocIp() {
		return vocIp;
	}

	public void setVocIp(String vocIp) {
		this.vocIp = vocIp;
	}

	public int getVocPort() {
		return vocPort;
	}

	public void setVocPort(int vocPort) {
		this.vocPort = vocPort;
	}
}
